<?php
namespace Home\Controller;
class WxeditorController extends HomeController {
    public $is_check_login = false; //不验登陆
    

	public function loadtemp()
	{
		$type = trim(I('type'));
		if(!in_array($type,array('title','text','img','tpl','scene','follow')))
		{
			echo '错误的模板类型 T_T';
			exit;
		}
		$this->display('temp_'.$type);
	}

    
    
    
}